@import "../common/mixin.scss";
@import "../common/var.scss";
//首页头部banner区
.index_head {
    display: flex;
    .index_head-left {
        width: 240px;
        height: 674px;
        overflow: hidden;
        background: $bg-red;
        &>h1 {
            height: 34px;
            line-height: 34px;
            font-size: 14px;
            font-weight: bold;
            color: $fc-white;
            background: #d6002d;
            text-indent: 20px;
        }
        .index_head-left-con {
            padding: 0 20px;
            box-sizing: border-box;
            &>h1 {
                font-size: 14px;
                color: $fc-white;
                @include center-lr;
                padding-top: 16px;
                padding-bottom: 16px;
                font-weight: normal;
            }
            &>p {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                border-bottom: 1px solid rgba(255, 255, 255, .3);
                &>a {
                    color: $fc-white;
                    font-size: 12px;
                    line-height: 1;
                    padding-bottom: 16px;
                    margin-right: 10px;
                    &:hover {
                        color: $fc-white;
                        text-decoration: underline;
                    }
                }
            }
        }
    }
    .index_head-right {
        width: 960px;
        &>ul {
            display: flex;
            &>li {
                line-height: 34px;
                padding: 0 24px;
                &>a {
                    color: $fc-base;
                    &:hover {
                        color: $fc-red;
                    }
                }
                &>.cur {
                    font-weight: bold;
                    color: $fc-red;
                }
            }
        }
        .index_head-right-banner {
            height: 380px;
            img {
                display: block;
            }
            .swiper-slide {
                width: 960px;
                height: 380px;
                background-color: #e5e5e5;
            }
            .swiper-pagination-bullet {
                width: 10px;
                height: 10px;
                border-radius: 50%;
                border: 2px solid $border-white;
                opacity: 1;
                background: inherit;
            }
            .swiper-pagination-bullet-active {
                background: $bg-white;
            }
        }
        .index_head-right-imglist {
            display: flex;
            &>a {
                width: 240px;
                height: 260px;
                overflow: hidden;
                box-sizing: border-box;
                border-right: 1px solid $border-gray-dark;
                &:last-child {
                    border-right: none;
                }
            }
        }
    }
}

//首页标题
.index_title {
    @include center;
    p {
        font-size: 28px;
        color: $fc-base;
        span {
            font-size: 14px;
            color: $fc-gray;
            margin-left: 8px;
            position: relative;
            bottom: -3px;
        }
    }
    a {
        color: $fc-title-gray;
        &:hover {
            color: $fc-red;
        }
        span {
            margin-left: 5px;
        }
    }
}

//热门品牌
.index_hot {
    display: flex;
    .index_hot-img {
        width: 480px;
        height: 300px;
        a {
            display: block;
        }
        img {
            width: 100%;
            height: 100%;
            display: block;
        }
    }
    .index_hot-right {
        width: 720px;
        height: 300px;
        .index_hot-right-title {
            display: flex;
            padding-left: 30px;
            margin-bottom: 15px;
            p {
                width: 100px;
                height: 30px;
                text-align: center;
                line-height: 30px;
                background: #f0f0f0;
                color: #555;
                cursor: pointer;
                margin-right: 20px;
                position: relative;
                i {
                    position: absolute;
                    bottom: -5px;
                    left: 45px;
                    display: none;
                }
            }
            &>.cur {
                background: #ff3560;
                color: $fc-white;
                i {
                    display: block;
                }
            }
        }
        .index_hot-right-img {
            display: flex;
            flex-wrap: wrap;
            width: 720px;
            height: 255px;
            overflow: hidden;
            align-content: flex-start;
            a {
                display: flex;
                justify-content: center;
                align-items: center;
                box-sizing: border-box;
                border-right: 1px solid $border-gray;
                border-bottom: 1px solid $border-gray;
                width: 180px;
                height: 64px;
                overflow: hidden;
                img {
                    display: block;
                }
            }
        }
    }
}

//特价秒杀
.index_miao {
    height: 400px;
    border-right: 1px solid $border-gray;
    display: flex;
    .index_miao-col {
        border: 1px solid $border-gray;
        border-right: none;
        width: 240px;
        height: 402px;
        display: block;
        position: relative;
        box-sizing: border-box;
        overflow: hidden;
        .index_miao-col-day {
            position: absolute;
            top: 0;
            left: 0;
            width: 50px;
            height: 40px;
            background: #ff3560;
            text-align: center;
            color: $fc-white;
            font-size: 14px;
            line-height: 18px;
            padding-top: 2px;
            box-sizing: border-box;
        }
        .index_miao-col-banner {
            width: 240px;
            height: 290px;
            overflow: hidden;
            img {
                display: block;
            }
        }
        .index_miao-col-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 70px;
            overflow: hidden;
            img {
                display: block;
            }
        }
        p {
            color: #555;
            text-align: center;
            font-size: 14px;
        }
    }
}

//首页服饰展示栏
.index_show {
    height: 500px;
    display: flex;
    .index_show-left {
        width: 200px;
        .index_show-left-text {
            height: 125px;
            padding-left: 20px;
            padding-top: 14px;
            box-sizing: border-box;
            background: #ff3560;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-content: flex-start;
            a {
                font-size: 12px;
                color: $fc-white;
                display: block;
                line-height: 24px;
                height: 22px;
                margin-right: 16px;
                &:hover {
                    text-decoration: underline;
                }
            }
        }
        .index_show-left-icon {
            height: 375px;
            padding: 20px 10px;
            border-left: 1px solid $border-gray;
            border-bottom: 1px solid $border-gray;
            box-sizing: border-box;
            .swiper-container-icon {
                height: 320px;
            }
            a {
                display: flex;
                justify-content: center;
                align-items: center;
                overflow: hidden;
                width: 180px;
                height: 64px;
            }
            img {
                display: block;
            }
            .swiper-button-next,
            .swiper-button-prev {
                width: 14px;
                height: 20px;
            }
            .swiper-button-prev {
                background-image: url(../img/index_icon_left.png);
                background-size: 100%;
            }
            .swiper-button-next {
                background-image: url(../img/index_icon_right.png);
                background-size: 100%;
            }
        }
    }
    .index_show-right {
        display: flex;
        flex-wrap: wrap;
        width: 1000px;
        height: 500px;
        overflow: hidden;
        flex-direction: column;
        align-content: flex-start;
        .index_show-right-col {
            display: block;
            &:last-child {
                .index_show-right-col-text {
                    border-right: 1px solid $border-gray;
                }
            }
            .index_show-right-col-img {
                // padding-left: 1px;
                padding-right: 1px;
                overflow: hidden;
                display: flex;
                justify-content: center;
                align-items: center;
                margin-right: auto;
                margin-left: auto;
                img {
                    display: block;
                }
            }
            .index_show-right-col-text {
                box-sizing: border-box;
                border-left: 1px solid $border-gray;
                border-bottom: 1px solid $border-gray;
                h1 {
                    padding-top: 24px;
                    padding-bottom: 10px;
                    line-height: 1;
                    text-align: center;
                    color: $fc-base;
                    font-size: 18px;
                }
                p {
                    text-align: center;
                    color: $fc-gray;
                    font-size: 14px;
                }
            }
        }
        .index_show-right-col_2 {
            width: 400px;
            height: 500px;
            .index_show-right-col-img {
                width: 398px;
                height: 412px;
            }
            .index_show-right-col-text {
                width: 400px;
                height: 88px;
            }
        }
        .index_show-right-col_1 {
            width: 200px;
            height: 500px;
            .index_show-right-col-img {
                width: 198px;
                height: 412px;
            }
            .index_show-right-col-text {
                width: 200px;
                height: 88px;
            }
        }
        .index_show-right-col_0_5 {
            width: 200px;
            height: 250px;
            &:nth-child(even) {
                .index_show-right-col-text {
                    border: none;
                }
            }
            .index_show-right-col-img {
                width: 198px;
                height: 162px;
            }
            .index_show-right-col-text {
                width: 200px;
                height: 88px;
            }
        }
    }
}

//团购
.index_tuan {
    @include center-lr;
    flex-wrap: wrap;
    .index_tuan-col {
        width: 590px;
        height: 314px;
        margin-bottom: 30px;
        .index_tuan-col-img {
            width: 590px;
            height: 280px;
            position: relative;
            overflow: hidden;
            p {
                position: absolute;
                width: 100%;
                left: 0;
                bottom: 0;
                font-size: 12px;
                color: #f0f0f0;
                line-height: 30px;
                background: rgba(0, 0, 0, .6);
                text-indent: 35px;
            }
        }
        .index_tuan-col-text {
            @include center-lr;
            .index_tuan_left_text {
                float: left;
                padding-top: 16px;
                font-size: 12px;
                color: $fc-title-gray;
                display: flex;
                align-items: center;
            }
            .index_tuan_right_text {
                float: right;
                padding-top: 16px;
                span {
                    float: left;
                    padding-right: 5px;
                    font-size: 12px;
                    color: $fc-title-gray;
                    display: flex;
                    align-items: center;
                    i {
                        margin-right: 8px;
                    }
                }
            }
        }
    }
}

//从首页进入的的团购页  ******************************************
.indextuan_banner-box {
    width: 100%;
    min-width: 1200px;
    height: 360px;
    a,
    img {
        display: block;
    }
    a {
        position: relative;
        height: 360px;
        img {
            position: absolute;
            left: 50%;
            margin-left: -960px;
        }
    }
}

.indextuan_title {
    .indextuan_title-h {
        display: table;
        margin-left: auto;
        margin-right: auto;
        line-height: 1;
        font-size: 28px;
        color: $fc-base;
        margin-bottom: 12px;
        padding: 0 20px;
        position: relative;
        .leftbar,
        .rightbar {
            position: absolute;
            width: 120px;
            height: 1px;
            background: #d9d9d9;
            top: 14px;
        }
        .leftbar {
            left: -120px;
        }
        .rightbar {
            right: -120px;
        }
    }
    p {
        text-align: center;
        font-size: 12px;
        color: #cbcbcb;
    }
}

.indextuan_tui {
    display: flex;
    justify-content: space-between;
    .indextuan_tui-col {
        position: relative;
        width: 285px;
        height: 366px;
        overflow: hidden;
        img {
            display: block;
        }
        .indextuan_tui-col {
            width: 235px;
            height: 126px;
            background: rgba(255, 255, 255, .9);
            position: absolute;
            bottom: 10px;
            left: 25px;
            display: flex;
            flex-direction: column;
            align-items: center;
            &>img {
                margin: 10px 0;
            }
            &>.bar {
                width: 28px;
                height: 3px;
                background: #333;
                margin-bottom: 10px;
            }
            h1 {
                font-size: 18px;
                color: #222;
                line-height: 1;
                padding-bottom: 8px;
            }
            p {
                font-size: 14px;
                color: $fc-red;
            }
        }
    }
}

//促销活动
.indexcuxiao_coupon-bg {
    background: #e40036;
}

.indexcuxiao_coupon {
    background: #e40036;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    .indexcuxiao_coupon-col {
        width: 386px;
        height: 158px;
        box-sizing: border-box;
        padding-top: 28px;
        padding-left: 28px;
        background-image: url(../img/cuxiao_coupon.png);
        cursor: pointer;
        box-shadow: 0px 6px 20px 0px rgba(148, 0, 35, 0.004);
        &>p {
            font-size: 14px;
            color: $fc-white;
        }
        &>.top {
            display: flex;
            .top-left {
                display: flex;
                margin-right: 20px;
                &>p {
                    font-size: 36px;
                    color: $fc-white;
                }
                &>h1 {
                    font-size: 90px;
                    color: $fc-white;
                    line-height: 1;
                }
            }
            .top-right {
                &>h1 {
                    font-size: 16px;
                    color: #60006b;
                    line-height: 24px;
                    background: rgba(255, 255, 255, .5);
                    padding: 0 8px;
                    font-weight: normal;
                    margin-bottom: 14px;
                    border-radius: 2px;
                }
                &>p {
                    font-size: 28px;
                    color: $fc-white;
                    font-weight: bold;
                }
            }
        }
    }
}

.indexcuxiao_item-bg {
    &:nth-child(even) {
        background: #e40036;
    }
    &:nth-child(odd) {
        background: #8b22f9;
    }
}

.indexcuxiao_item {
    padding-top: 60px;
    padding-bottom: 40px;
    .indexcuxiao_item-title {
        display: flex;
        justify-content: center;
        padding-bottom: 52px;
        &>h1 {
            display: table;
            font-size: 42px;
            color: $fc-white;
            line-height: 1;
        }
        &>i {
            margin: 0 45px;
        }
    }
    .indexcuxiao_item-con {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        .indexcuxiao_item-con-col {
            margin-bottom: 20px;
            .img {
                display: block;
                width: 285px;
                height: 366px;
                overflow: hidden;
                img {
                    display: block;
                }
            }
            .text {
                background: $bg-white;
                height: 100px;
                padding-left: 20px;
                position: relative;
                &>h1 {
                    font-size: 20px;
                    color: $fc-red;
                    line-height: 1;
                    padding-top: 34px;
                    padding-bottom: 14px;
                    span {
                        font-size: 14px;
                    }
                }
                &>p {
                    font-size: 12px;
                    color: $fc-base;
                }
                .shop {
                    width: 44px;
                    height: 44px;
                    border-radius: 50%;
                    background: $bg-red;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: absolute;
                    top: 33px;
                    right: 20px;
                    cursor: pointer;
                }
            }
        }
    }
}

//**************************************************************